Skip to content

R-8: a disabled read behind && or ?: covers only where the site's props make it - #101

Open
ryansolid wants to merge 4 commits into
mainfrom
claude/project-thread-xp2irv
Open

ryansolid wants to merge 4 commits into
mainfrom
claude/project-thread-xp2irv

Conversation

@ryansolid

Copy link
Copy Markdown
Member

This change closes the gap the r17 trace left in R-8 through components (#94).

In r17 board app 6, each lane disabled its buttons with props.column == "done" && props.lens.doing >= 3. That reads props.lens only in the done lane. In the other lanes the click read the lens anyway, so a failed column's error was thrown out of the page. R-8 counted any read inside disabled as cover, even one behind &&.

What changes:

  • A disabled attribute or a region reader now covers a value only if the read actually happens.
    • The right side of &&, || and ??, and the arms of ?:, count only where a site's literal props decide them, for example column="done".
    • A small evaluator handles literals, props bound to literals, and !, ==, !=, && and || over them.
  • Across every app folder, the only new hits are r17 app 6 and two older apps with the same latent shape (r15 board opus-6, r16 board haiku-5). In each, a disabled-while-failing guard skips the read in the lanes where it matters. It flags nothing in any reference or example.
  • New test snapshot_guard_behind_and, plus a spec sentence under R-8 "Through components", a changelog line, and an update to the r17 README.
  • guide/diagnostics.md STALE_CAPTURE: a write after the await takes what the user gave (an id, a title typed in, an index). A row's fields passed one by one, such as its title or count, are still what the screen showed, so read them from the answer at the write, or re-ask. This came from r17 apps 4 and 5.

Tests: Rust unit tests 12/12, crate 377/377. ref, oracle and compiled were not rerun: the diff touches only the crate's R-8 and prose.


Generated by Claude Code

…ps make it; STALE_CAPTURE guide on row fields

r17 board app 6's lane disabled its buttons with
props.column == "done" && props.lens.doing >= 3, which reads lens only in the
done lane; its other lanes' clicks threw a failed column. A read on the right
of &&, ||, ?? or in an arm of ?: now counts only where a site's literal props
decide it. New hits: 2 older apps with the same latent shape; none in any
reference or example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWLtkg281f1NkGEDjCt
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
6d13f65 2026-11-25T13:21:26.328Z View logs ↗
  • Build: Failed ❌

View logs ↗
40942ae 2026-11-25T13:06:10.940Z View logs ↗
  • Build: Failed ❌

View logs ↗
d3554f7 2026-11-25T12:52:29.078Z View logs ↗
  • Build: Failed ❌

View logs ↗
479074a 2026-11-25T10:24:44.017Z View logs ↗

…n every arm, round 15 rescored

Ryan 2026-11-25: the hold allowances are valid behaviour in every arm, not rx exclusions. Every hold
probe now runs on all 144 round 15 apps and the board fuzz of all 72 board apps is regraded with B5
and B6. The rerun and r17 are rescored the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWLtkg281f1NkGEDjCt
…uess is held misses a later guess)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWLtkg281f1NkGEDjCt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWLtkg281f1NkGEDjCt

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants